package com.data.model.enums;

import lombok.Getter;

public enum CatalogSubTypeEnum {
    PHYSICAL_TABLE("PHYSICAL_TABLE", CatalogTypeEnum.TABLE, "物理表"),

    VIRTUAL_TABLE("VIRTUAL_TABLE", CatalogTypeEnum.TABLE, "虚拟表"),

    AGGREGATE_INDEX("AGGREGATE_INDEX", CatalogTypeEnum.INDEX, "聚合指标"),

    NEST_INDEX("NEST_INDEX", CatalogTypeEnum.INDEX, "嵌套指标"),

    NORMAL_DIMENSION("NORMAL_DIMENSION", CatalogTypeEnum.DIMENSION, "维度"),
    ;

    @Getter
    private final String code;

    @Getter
    private final CatalogTypeEnum catalogTypeEnum;

    @Getter
    private final String desc;

    CatalogSubTypeEnum(String code, CatalogTypeEnum catalogTypeEnum, String desc) {
        this.code = code;

        this.catalogTypeEnum = catalogTypeEnum;
        this.desc = desc;
    }
}
